package com.atguigu.jxc.entity;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @Author zhmwi
 * @Date 2021/9/4
 * @Dersciption
 */
@Data
public class GoodsTree {
    //分级Id
    private Integer id;
    //父级Id
    private Integer pId;
    //分级名称
    private String text;
    //分级图标
    private String iconCls = "goods-type";
    //是否有子节点
    private Map<String,Integer> attributes;
    //子节点集合
    private List<GoodsTree> children;


}
